pkgname=postmarketos-ui-plasma-mobile
pkgver=1
pkgrel=9
pkgdesc="(Wayland) Mobile variant of KDE Plasma, optimized for touchscreen"
url="https://wiki.postmarketos.org/wiki/Plasma_Mobile"
arch="noarch"
license="GPL3+"
# dbus-x11 provides dbus-launch
depends="plasma-phone-components dbus dbus-x11 qmltermwidget plasma-settings
	breeze-icons postmarketos-demos kscreen qt5-qtvirtualkeyboard
	plasma-camera elisa pulseaudio pulseaudio-utils consolekit2 powerdevil
	polkit-kde-agent"
makedepends=""
install="$pkgname.post-install"
subpackages=""
source="start_plasma.sh kwinrc qtlogging.ini"
options="!check"

package() {
	install -D -m644 "$srcdir"/start_plasma.sh \
		"$pkgdir"/etc/profile.d/start_plasma.sh

	install -D -m644 "$srcdir"/kwinrc \
		"$pkgdir"/etc/xdg/kwinrc
	
	install -D -m644 "$srcdir"/qtlogging.ini \
		"$pkgdir"/etc/skel/.config/QtProject/qtlogging.ini
}
sha512sums="863ea3801b5f045891c511788980be7d2da8fb673038367725a15d6ae17b990e333d4655f4f418516e1cd8be37c2e4fa66e1b147b7266a6a290569a8d67ea368  start_plasma.sh
a95d3bbd1e8051c9b394ad7a26e4beb2d1be8d3c38189819da61fd42b1c7fd3948c4737bc9246eee23eaf5fd9451cd6362fb06442f3d8f967f930d3bcc5cfbe9  kwinrc
341f0b866c315f37868ef3e7137cce8b53a0e8e6164e5af71b3e8e2fa68321afbf0652d76124ef84bade1393f701748852ac939aef9daff7e272a0df827780eb  qtlogging.ini"
